<div id="main-content">
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-block">
          <div class="widget-head">
            <h5><?php print $title?></h5>
          </div>
          <div class="widget-content">
            <div class="widget-box">
              <?php print $this->form_eksternal->form_open_multipart("", 'class="form-horizontal well"')?>
                <fieldset>
                  <div class="control-group">
                    <label class="control-label" for="input01">Account Pendapatan Sebelum Pajak</label>
                    <div class="controls">
                      <?php 
                      $frm_pendapatan_sebelum_pajak = $this->nbscache->get_explode("variable", "frm_pendapatan_sebelum_pajak");
                      
                      print $this->form_eksternal->form_autocomplate("vfrm_pendapatan_sebelum_pajak", "frm_pendapatan_sebelum_pajak", 
                      "vfrm_pendapatan_sebelum_pajak", "frm_pendapatan_sebelum_pajak", site_url("frm/accounting/auto_account"), 
                      $this->global_models->get_field("frm_account","title", array("id_frm_account" => $frm_pendapatan_sebelum_pajak[1])), 
                      $frm_pendapatan_sebelum_pajak[1])
                      ?>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label" for="input01">Account Pendapatan Sebelum Pajak Yayasan</label>
                    <div class="controls">
                      <?php 
                      $keuangan_yayasan_pendapatan_sebelum_pajak = $this->nbscache->get_explode("variable", "keuangan_yayasan_pendapatan_sebelum_pajak");
                      
                print $this->form_eksternal->form_autocomplate("vkeuangan_yayasan_pendapatan_sebelum_pajak", "keuangan_yayasan_pendapatan_sebelum_pajak", 
                "vkeuangan_yayasan_pendapatan_sebelum_pajak", "keuangan_yayasan_pendapatan_sebelum_pajak", site_url("frm/accounting/auto_account"), 
                $this->global_models->get_field("frm_account","title", array("id_frm_account" => $keuangan_yayasan_pendapatan_sebelum_pajak[1])), 
                $keuangan_yayasan_pendapatan_sebelum_pajak[1])
                      ?>
                    </div>
                  </div>
                  <div class="form-actions">
                    <button type="submit" class="btn btn-info">Save changes</button>
                    <button class="btn" onclick="history.go(-1);return false;"><?php print lang("cancel")?></button>
                  </div>
                </fieldset>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>